package com.by.config;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author :LYJ
 * @version : 1.0
 * @date : 2025/6/30 17:37
 * @desc :
 * @since : JDK17
 */
// 将 name 属性替换为实际的微服务名称
@FeignClient(name = "erp-product", configuration = FeignConfig.class)
public interface OtherServiceClient {

    @GetMapping("/api/resource")
    String getResource();
}
